package com.yan.demo2;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * @author taoge
 * @Date 2024/8/15 9:47
 * @Description
 */             // 标注存活时间的注解

@Cat
public class Demo2 {
    public static void main(String[] args) {

    }
}


@Retention(RetentionPolicy.CLASS)
@interface Cat{

}
